Organize leaves empty parent directories behind
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Say I have the following layout:
src/foo/configs/my.conf
src/foo/scripts/start-my-thing
And my YAML:
# [...]
parts:
my-part:
plugin: dump
source: src/foo
organize:
configs/my.conf: my-conf-dir/my.conf
scripts/start-my-thing: bin/start-my-thing
As things are now, the snap will contain an empty `configs` directory as well as an empty `scripts` directory, which need to be filtered out via the `stage`/`snap` keywords. This is probably something that can be fixed in the organize code (removing empty parent directories) instead of expecting the user to track it.
Evaluation history
No evaluation history available.